home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1145 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.4 KB

  1. Date: Fri, 4 Mar 1994 17:53:32 -0500
  2. From: "Nicholas S Castellano" <entropy@terminator.rs.itd.umich.edu>
  3. To: schwab@issan.informatik.uni-dortmund.de
  4. In-Reply-To: Andreas Schwab's message of Fri, 4 Mar 94 10:39:12 +0100 <9403040939.AA02286@issan.informatik.uni-dortmund.de>
  5. Subject: another 1.10 job control bug?
  6.  
  7. >From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  8. >Bash sets up a pipeline by making the first process the group leader.
  9. >So if you pipe the output of a process into less, for example, this
  10. >process will almost always exit before less. I think there is no
  11. >better solution except adding sessions to MiNT. And bash is supposed to
  12. >be POSIX complient.
  13.  
  14. Hm, OK, I'll accept it as a tentative solution.
  15.  
  16. My only problem with it as a permanent solution is that a process
  17. hanging around in the foregroung process group could prevent the
  18. controlling tty from ever being released, causing the
  19. you-only-get-one-login-per-device problem again.  One way this could
  20. happen is if an asynchronous process is spawned from a
  21. non-job-control-aware shell (e.g. one that knows nothing about process
  22. groups).  I guess this isn't a big enough problem to be concerned
  23. about at the moment, unless there are other ways this could happen.
  24.  
  25. Cheers,
  26. entropy
  27.  
  28. --
  29. entropy -- it's not just a good idea, it's the second law.
  30. Personal mail:      entropy@gnu.ai.mit.edu
  31. MiNT library mail:  entropy@terminator.rs.itd.umich.edu
  32. "what do you have against octal?" -jrb
  33.  
  34.